//
//  LTFirstGradeCollectionCell.m
//  LearnTeacher
//
//  Created by yang bo on 2024/4/15.
//

#import "LTFirstGradeCollectionCell.h"

@interface LTFirstGradeCollectionCell ()
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UILabel *titleLab;

@end
@implementation LTFirstGradeCollectionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setIsSel:(BOOL)isSel {
    _isSel = isSel;
    if(isSel) {
        _bgView.backgroundColor = rgbHex(0x2979FF, 1);
        _titleLab.textColor = [UIColor whiteColor];
    }else {
        _bgView.backgroundColor = [UIColor whiteColor];
        _titleLab.textColor = rgbHex(0xa0a0a0, 1);
    }
}

@end
